package entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 角色权限关联表
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "角色权限关联表")
public class RolePermission implements Serializable {
    
    @Schema(description = "自增主键")
    private Integer rolePermissionId;
    //
    @Schema(description = "关联角色表")
    private Integer roleId;
    
    @Schema(description = "关联权限表")
    private Integer permissionId;
}